home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 January / Macworld (1998-01).dmg / Shareware World / Utilities / Data & Time Management / ProMaker-Utils-1.0.2 / Specifing Options < prev   
Text File  |  1997-07-14  |  741b  |  24 lines

  1. // ProMaker follows the conventions used 
  2. //by Filemaker for Options 
  3.  
  4. // so you can do all of this:
  5. Comment[“curly quotes”]
  6. Comment["plain quotes"]
  7. Comment[{ or use the more ease to type "parenthesis"}]
  8.  
  9. // example for more options:
  10. Set Field [“text field”, [“If(Status(CurrentMessageChoice) > 1 , "foo" , "bar")”]
  11.  
  12. //As an extra possibility you can use the more easy 
  13. // to type { and  }, like this:
  14.  
  15. Set Field [{text field}, { If(Status (CurrentMode) = 1 , "A" , "B") } ]
  16.  
  17. // You can also use plain double quotes if no other quotes
  18. // are present, like this:
  19. Set Field ["text field", "If( 0 > 1 , 3 , 4)"]
  20.  
  21. // If there are other plain quotes, only the last part is taken:
  22.  
  23. Set Field ["test field", ", test" & If(test > 1 , ", " , ",") "]
  24.